Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.template.service.jaxrs.contrib--contextExtension

This contribution is part of XML component org.nuxeo.template.service.jaxrs.contrib inside nuxeo-template-rendering-jaxrs-9.10.jar /OSGI-INF/templateprocessor-contrib.xml

Documentation

Adds helper function to manage REST resources urls

  • jaxrs.getResourceUrl(resourceName)

Extension Point

Extension point contextExtension of component TemplateProcessorComponent.

Contributed Items

  • <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
        </contextFactory>

XML Source

<extension point="contextExtension" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds helper function to manage REST resources urls
      <ul>
        <li>jaxrs.getResourceUrl(resourceName)</li>
      </ul>
    </documentation>

    <contextFactory class="org.nuxeo.template.jaxrs.context.ExtensionFactory" name="jaxrs">
    </contextFactory>

  </extension>